﻿// -----------------------------------------------------------------------
// <copyright file=HoSoKhamBenhNgoaiTruBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class HoSoKhamBenhNgoaiTruBusiness
    {
        HoSoKhamBenhNgoaiTruDataAccess objDa = null;

        public HoSoKhamBenhNgoaiTruBusiness()
        {
            objDa = new HoSoKhamBenhNgoaiTruDataAccess();
        }

        public bool InsertHoSoKhamBenhNgoaiTru(HoSoKhamBenhNgoaiTruEntity obj)
        {
            return objDa.InsertHoSoKhamBenhNgoaiTru(obj);
        }

        public bool EditHoSoKhamBenhNgoaiTru(HoSoKhamBenhNgoaiTruEntity obj)
        {
            return objDa.EditHoSoKhamBenhNgoaiTru(obj);
        }

        public bool DeleteHoSoKhamBenhNgoaiTru(string maHoSo)
        {
            return objDa.DeleteHoSoKhamBenhNgoaiTru(maHoSo);
        }

        public HoSoKhamBenhNgoaiTruEntity GetHoSoKhamBenhNgoaiTru(string maHoSo)
        {
            return objDa.GetHoSoKhamBenhNgoaiTru(maHoSo);
        }

        public IList<HoSoKhamBenhNgoaiTruEntity> GetHoSoKhamBenhNgoaiTruList(DateTime ngayVaoKham)
        {
            return objDa.GetHoSoKhamBenhNgoaiTruList(ngayVaoKham);
        }

    }
}